/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

window.onload = function()
{
    doc = document;
    initialize();
};

var map;
function initialize() {
    var mapOptions = {
        zoom: 7,
        center: new google.maps.LatLng(9.970707, -84.128979)
    };
    var mapDiv = doc.getElementById('map-canvas');
    map = new google.maps.Map(mapDiv, mapOptions);
}
;

function eventMap(info1, info2) {
    var mapOptions = {
        zoom: 16,
        center: new google.maps.LatLng(info1, info2)
    };
    var mapDiv = doc.getElementById('map-canvas');
    map = new google.maps.Map(mapDiv, mapOptions);
}
;

//Alajuela
    // x = 10.016667;
    // y = -84.216667;

//Cartago
    // x = 9.864167;
    // y = -83.919722;
    
//San Jose
    // x = 9.966667;
    // y = -84.083333;
    
//Herediano
    // x = 10.377778;
    // y = -83.956389;

//Puntarenas
    // x = 9.948611;
    // y = -84.973333;
    
//Limon
    // x = 9.99286;
    // y = -83.0305;
    
//Guanacaste
    //
    //    